package com.fm.base.database;

import java.util.Set;

public interface DBResult<T extends DBO> {
	DBResult<T> limit(long limit);

	DBResult<T> skip(long skip);

	DBResult<T> batchSize(int batchSize);

	DBResult<T> fields(Set<String> fields);

	DBResult<T> sort(DBSort sort);

	DBCursor<T> getCursor();
}